import React from 'react';
import  CTable from "@/components/c_table"

const tableOption={
  getApi:'/api/link',
  columns: [
    {
      title: 'ID',
      dataIndex: 'id',
      key: 'id',
      width:'40px',
    },
    {
      title: '昵称',
      dataIndex: 'linkName',
      key: 'linkName',
      width:'70px',
    },
    {
      title: '公司',
      dataIndex: 'linkCompony',
      key: 'linkCompony',
    },
    {
      title: '手机号',
      dataIndex: 'linkPhone',
      key: 'linkPhone',
    },
    {
      title: '补充',
      dataIndex: 'linkDescribe',
      key: 'linkDescribe',
    },
  ]
}
const tableOptoon:cType.tableProTp={
  tableOption:tableOption
}
const App: React.FC = () => {
  return (
     <CTable {...tableOptoon}></CTable>
  );
};
export default App;
